class Item:
    def __init__(self, name, price):
        self._name = name
        self._price = price

    def getName(self):
        return self._name

    def getPrice(self):
        return self._price

    def setName(self, name):
        self._name = name

    def setPrice(self, price):
        self._price = price

item = Item('rick', 5.0)
list = []
a = 10
b = 1
list += [a]
list += [b]
print(list)
